<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans.xsd">

    <!-- 托管 Product Bean -->
    <bean id="product" class="org.example.Product">
        <property name="name" value="iPhone 15"/>
        <property name="price" value="5999.99"/>
    </bean>

    <!-- 托管 Student Bean -->
    <bean id="student" class="org.example.Student">
        <property name="name" value="张三"/>
        <property name="age" value="20"/>
    </bean>

</beans>